#!/bin/sh

#
# Test assert-size-gte
#

. "$(cd "$(dirname "$0")" && pwd)/common.sh"

cat >$CONFIG <<EOF
file-resource TEST {
        host-path = "${TESTFILE_1K}"
        assert-size-gte = 3
}
EOF

# Success if this fails
if $FWUP_CREATE -c -f $CONFIG -o $FWFILE; then
    echo "Expected assert-size-gte to fail?"
    exit 1
fi
